﻿/*功能描述：系统设置-面试管理+出国考察游
作者：李周蓬
时间：2021-12-23
修改人：李周蓬
修改时间：2021-12-23*/
using HongStone.Domain.SystemSetupModel.InstitutionSettingModel;
using HongStone.Dto;
using HongStone.Dto.SystemLZPDto;
using HongStone.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Service
{
    public class SystemLZPBll
    {
        private readonly SystemLZPDal _systemLZPDal;
        public SystemLZPBll(SystemLZPDal systemLZPDal)
        {
            _systemLZPDal = systemLZPDal;
        }
        /// <summary>
        /// 面试添加
        /// </summary>
        /// <param name="interview"></param>
        /// <returns></returns>
        public ResultData AddInterview(Interview interview)
        {
            return _systemLZPDal.AddInterview(interview);
        }
        /// <summary>
        /// 显示面试信息
        /// </summary>
        /// <param name="deptid"></param>
        /// <param name="name"></param>
        /// <param name="result"></param>
        /// <returns></returns>
        //public ResultData ShowInterview(int deptid, string name, string result)
        //{
        //    return _systemLZPDal.ShowInterview(deptid, name, result);
        //}
        public List<InterviewDto> ShowInterview(int deptid, string name, string result)
        {
            return _systemLZPDal.ShowInterview(deptid, name, result);
        }
        /// <summary>
        /// 显示出国旅游资格单
        /// </summary>
        /// <returns></returns>
        public ResultData ShowGo(string year)
        {
            return _systemLZPDal.ShowGo(year);
        }
        /// <summary>
        /// 显示出国旅游安排计算表
        /// </summary>
        /// <returns></returns>
        public ResultData ShowAn(string year)
        {
            return _systemLZPDal.ShowAn(year);
        }
        /// <summary>
        /// 显示出国旅游汇总表
        /// </summary>
        /// <returns></returns>
        public ResultData ShowHui(string year)
        {
            return _systemLZPDal.ShowHui(year);
        }
        /// <summary>
        /// 保存出国旅游安排计算表
        /// </summary>
        /// <returns></returns>
        public ResultData BaoCun(StaffGoList staffGoList)
        {
            return _systemLZPDal.BaoCun(staffGoList);
        }
    }
}
